Skip to content

[3.13] gh-129732: Fix race on shared->array in qsbr code under free-threading (gh-129738) #129747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Feb 6, 2025

The read of shared->array should happen under the lock to avoid a race.
(cherry picked from commit b4ff8b2)

…r free-threading (pythongh-129738)

The read of `shared->array` should happen under the lock to avoid a race.
(cherry picked from commit b4ff8b2)

Co-authored-by: Peter Hawkins <[email protected]>
@colesbury colesbury merged commit f7cc862 into python:3.13 Feb 6, 2025
38 checks passed
@colesbury colesbury deleted the backport-b4ff8b2-3.13 branch February 6, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants